<?php
declare (strict_types = 1);

namespace app\api\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class integral_goods extends Model
{

    public function storeCoupon()
    {
        return $this->belongsTo('\app\admin\model\StoreCoupon', 'coupon_id', 'id');
    }
    public function mall()
    {
        return $this->belongsTo('\app\admin\model\MallGoods', 'goods_id', 'id');
    }
}
